<!DOCTYPE html>
<html lang="en">

{% if session['phone'] %}

  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>CIops 自动化平台 | </title>

    <!-- Bootstrap -->
    <link href="../static/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="../static/css/font-awesome.min.css" rel="stylesheet">
    <!-- iCheck -->
    <link href="../static/css/green.css" rel="stylesheet">
    <!-- bootstrap-progressbar -->
    <link href="../static/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <!-- jVectorMap -->
    <link href="/static/css/jquery-jvectormap-2.0.3.css" rel="stylesheet"/>

    <!-- Custom Theme Style -->
    <link href="../static/css/custom.min.css" rel="stylesheet">
    {% block css %}
    {% endblock %}
    <style type="text/css">
        {% block style %}
        {% endblock %}
    </style>



  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="index.html" class="site_title"><i class="fa fa-server"></i> <span>CIops 自动化平台</span></a>
            </div>

            <div class="clearfix"></div>

            <!-- menu profile quick info -->
            <div class="profile">
              <div class="profile_pic">
                <img src="/static/images/kk.png" alt="..." class="img-circle profile_img">
              </div>
              <div class="profile_info">
                <span>欢迎,</span>
                <h2>Admin</h2>
              </div>
            </div>
            <!-- /menu profile quick info -->

            <br />

            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section">
                <h3>General</h3>
                <ul class="nav side-menu">
                  <li><a><i class="fa fa-home"></i> 首页 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="index.html">控制面板</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-tasks"></i> 查看传感器信息 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="/user/cpu">CPU 温度信息</a></li>
                      <li><a href="/user/fan">风扇信息</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-user"></i> 查看用户和配置IP信息 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="general_elements.html">查看用户列表</a></li>
                      <li><a href="media_gallery.html">设置用户和密码</a></li>
                      <li><a href="typography.html">配置IP信息</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-power-off"></i> 电源信息 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="tables.html">查看状态</a></li>
                      <li><a href="tables_dynamic.html">操作电源</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-star"></i> boot引导顺序 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="chartjs.html">PXE</a></li>
                      <li><a href="chartjs2.html">Disk</a></li>
                      <li><a href="morisjs.html">CDrom</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-desktop"></i>Cobbler <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="fixed_sidebar.html">系统定制</a></li>
                      <li><a href="fixed_footer.html">指派地址</a></li>
                    </ul>
                  </li>
                </ul>
              </div>
              <div class="menu_section">

              </div>


            </div>
            <!-- /sidebar menu -->

            <!-- /menu footer buttons -->
            <div class="sidebar-footer hidden-small">
              <a data-toggle="tooltip" data-placement="top" title="Settings">
                <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="FullScreen">
                <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="Lock">
                <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="Logout">
                <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
              </a>
            </div>
            <!-- /menu footer buttons -->
          </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
          <div class="nav_menu">
            <nav class="" role="navigation">
              <div class="nav toggle">
                <a id="menu_toggle"><i class="fa fa-bars"></i></a>
              </div>

              <ul class="nav navbar-nav navbar-right">
                <li class="">
                  <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <img src="/static/images/kk.png" alt="">Admin
                    <span class=" fa fa-angle-down"></span>
                  </a>
                  <ul class="dropdown-menu dropdown-usermenu pull-right">
                    <li><a href="javascript:;"> 简介</a></li>
                    <li>
                      <a href="javascript:;">
                        <span class="badge bg-red pull-right">50%</span>
                        <span>设置</span>
                      </a>
                    </li>
                    <li><a href="javascript:;">帮助</a></li>
                    <li><a href="/user/logout"><i class="fa fa-sign-out pull-right"></i> 注 销</a></li>
                  </ul>
                </li>

                <li role="presentation" class="dropdown">
                  <a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false">
                    <i class="fa fa-envelope-o"></i>
                    <span class="badge bg-green">6</span>
                  </a>
                  <ul id="menu1" class="dropdown-menu list-unstyled msg_list" role="menu">
                    <li>
                      <a>
                        <span class="image"><img src="/static/images/kk.png" alt="Profile Image" /></span>
                        <span>
                          <span>kumikoda</span>
                          <span class="time">3 mins ago</span>
                        </span>
                        <span class="message">
                          小朋友，该批量安装系统了，哈哈
                        </span>
                      </a>
                    </li>
                    <li>
                      <div class="text-center">
                        <a>
                          <strong>See All Alerts</strong>
                          <i class="fa fa-angle-right"></i>
                        </a>
                      </div>
                    </li>
                  </ul>
                </li>
              </ul>
            </nav>
          </div>
        </div>
        <!-- /top navigation -->

        <!-- page content -->
        <div class="right_col" role="main">
          <!-- top tiles -->
          <div class="row tile_count">
          </div>
          <!-- /top tiles -->

          <div class="row">
                  </div>
          </div>
          <br />

          <div class="row">




          </div>


          <div class="row">




              <div class="row">


                </div>
                <!-- End to do list -->

                <!-- start of weather widget -->


                </div>
                <!-- end of weather widget -->
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->

        <!-- footer content -->

      </div>
    </div>

    <!-- jQuery -->
    <script src="../static/js/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="../static/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="../static/js/fastclick.js"></script>
    <!-- NProgress -->
    <script src="../static/js/nprogress.js"></script>
    <!-- Chart.js -->
    <script src="../static/js/Chart.min.js"></script>
    <!-- gauge.js -->
    <script src="../static/js/gauge.min.js"></script>
    <!-- bootstrap-progressbar -->
    <script src="../static/js/bootstrap-progressbar.min.js"></script>
    <!-- iCheck -->
    <script src="../static/js/icheck.min.js"></script>
    <!-- Skycons -->
    <script src="../static/js/skycons.js"></script>
    <!-- Flot -->
    <script src="../static/js/jquery.flot.js"></script>
    <script src="../static/js/jquery.flot.pie.js"></script>
    <script src="../static/js/jquery.flot.time.js"></script>
    <script src="../static/js/jquery.flot.stack.js"></script>
    <script src="../static/js/jquery.flot.resize.js"></script>
    <!-- Flot plugins -->
    <script src="/static/js/jquery.flot.orderBars.js"></script>
    <script src="/static/js/date.js"></script>
    <script src="/static/js/jquery.flot.spline.js"></script>
    <script src="/static/js/curvedLines.js"></script>
    <!-- jVectorMap -->
    <script src="/static/js/jquery-jvectormap-2.0.3.min.js"></script>
    <!-- bootstrap-daterangepicker -->
    <script src="/static/js/moment.min.js"></script>
    <script src="/static/js/daterangepicker.js"></script>

    <!-- Custom Theme Scripts -->
    <script src="../static/js/custom.min.js"></script>
    {% block js %}
    {% endblock %}

{% else %}
    <script language="javascript" type="text/javascript">
        window.location.href="/user/login";
    </script>
{% endif %}
  </body>
</html>